#include <iostream>
#include <fstream>
#include "StringNode.h"
#include "FileNode.h"
using namespace std;
int main()
{
	
	string word="mayank";
	int freq=34;
	string name="file.doc";
	string loc="/Users/file.doc";
	StringNode *str=new StringNode(word,freq);
	cout<<"\n";
	cout<<"word is :"<<str->getWordName();
	
	cout<<"\n frequency is :"<<str->getFrequency();
	cout<<"\n";
	FileNode fl(name,loc);
	cout<<"\nfile :"<<fl.getFileName()<<" location "<<fl.getLocation()<<"\n";
	
	
	return 0;
	
	
	
}

